<% layout('layout') %>
<div ng-controller="MemberCtrl" data-ng-init="jarpwd('<%=jpwd%>')">

    <div class="am-g">
        <div class="am-u-sm-8 am-u-sm-centered am-text-center " style="line-height: 60px;"><span ng-bind="pwdtitle"></span></div>
    </div>

    <div ng-style="{{showsz}}">
        <div class="am-input-group am-input-group-primary am-margin-sm">
            <span class="am-input-group-label"><i class="am-icon-lock"></i></span>
            <input id="yepwd" type="password" class="am-form-field" placeholder="设置六位余额支付密码">
        </div>

        <div class="am-input-group am-input-group-primary am-margin-sm">
            <span class="am-input-group-label"><i class="am-icon-lock"></i></span>
            <input id="qryepwd" type="password" class="am-form-field" placeholder="确认余额支付密码">
        </div>

        <div class="am-margin-sm">
            <button type="button" class="am-btn am-btn-primary am-btn-block" ng-click="savepwd()">保存余额支付密码</button>
        </div>

    </div>

    <div ng-style="{{showxg}}">
        <div class="am-input-group am-input-group-primary am-margin-sm">
            <span class="am-input-group-label"><i class="am-icon-lock"></i></span>
            <input id="yyepwd" type="password" class="am-form-field" placeholder="原余额支付密码">
        </div>

        <div class="am-input-group am-input-group-primary am-margin-sm">
            <span class="am-input-group-label"><i class="am-icon-lock"></i></span>
            <input id="xyepwd" type="password" class="am-form-field" placeholder="新余额支付密码">
        </div>

        <div class="am-input-group am-input-group-primary am-margin-sm">
            <span class="am-input-group-label"><i class="am-icon-lock"></i></span>
            <input id="qrxyepwd" type="password" class="am-form-field" placeholder="确认新余额支付密码">
        </div>

        <div class="am-margin-sm">
            <button type="button" class="am-btn am-btn-primary am-btn-block" ng-click="changePassword()">保存新余额支付密码</button>
        </div>
    </div>

    <div ng-style="{{showzh}}">
        <div class="am-margin-sm">
            <button type="button" class="am-btn am-btn-primary am-btn-block" ng-click="sendpwdcode()">向绑定手机发送验证码，来重置余额支付密码</button>
        </div>

        <div class="am-input-group am-input-group-primary am-margin-sm">
            <span class="am-input-group-label"><i class="am-icon-info"></i></span>
            <input id="smscode" type="text" class="am-form-field" placeholder="验证码">
        </div>

        <div class="am-input-group am-input-group-primary am-margin-sm">
            <span class="am-input-group-label"><i class="am-icon-lock"></i></span>
            <input id="zhpwd" type="password" class="am-form-field" placeholder="新余额支付密码">
        </div>

        <div class="am-input-group am-input-group-primary am-margin-sm">
            <span class="am-input-group-label"><i class="am-icon-lock"></i></span>
            <input id="qrzhpwd" type="password" class="am-form-field" placeholder="确认新余额支付密码">
        </div>

        <div class="am-margin-sm">
            <button type="button" class="am-btn am-btn-primary am-btn-block" ng-click="savecodepwd()">保存新余额支付密码</button>
        </div>
    </div>

</div>
<% block('footer').append('<script src="'+CDN+'script/member.js"></script>') %>

